// API 配置
const API_CONFIG = {
    BASE_URL: 'https://hz-ly.com',
    ENDPOINTS: {
        PRODUCT_TYPES: '/api/product-types',
        PRODUCTS: '/api/products'
    }
};
// API 配置
const RYZZ_CONFIG = {
    API: {
        BASE_URL: 'https://hz-ly.com', // 如有域名可补充
        ENDPOINTS: {
            CERTIFICATE_TYPES: '/api/certificate-types',
            CERTIFICATES: '/api/certificates',
        }
    },
    IMAGE: {
        DEFAULT: 'static/picture/placeholder.png' // 可自定义默认图片
    }
};

// 默认图片配置
const IMAGE_CONFIG = {
    DEFAULT_PRODUCT: 'static/picture/default-product.jpg'
};

// 导出配置
window.APP_CONFIG = {
    API: API_CONFIG,
    RYZZ_CONFIG: RYZZ_CONFIG,
    IMAGE: IMAGE_CONFIG
}; 